package com.guigu.dh.receive;

import com.guigu.dh.service.SmsService;
import com.guigu.dh.vo.msm.MsmVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @author: DengHao
 * @date: 2022-03-08
 */
@Component
public class SmsReceiver {

    @Autowired
    private SmsService smsService;

    String check = "https://cloud-music-api-lyart.vercel.app/captcha/verify?phone=${this.phone}&captcha=";
/*
    @RabbitListener(bindings = @QueueBinding(
            value = @Queue(value = MqConst.QUEUE_MSM_ITEM, durable = "true"),
            exchange = @Exchange(value = MqConst.EXCHANGE_DIRECT_MSM),
            key = {MqConst.ROUTING_MSM_ITEM}
    ))
    public void send(MsmVo msmVo, Message message, Channel channel) {
        smsService.send(msmVo);
    }*/


}
